package com.leanyuan.publi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 相亲相爱一家人
 * @since 2021-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Order2 implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("Order_id")
    private Integer orderId;

    private Integer staffId;

    @JsonFormat(pattern = "YYYY-MM-dd",timezone = "GMT+8")
    @TableField("Cost")
    private Date Cost;

    @JsonFormat(pattern = "YYYY-MM-dd",timezone = "GMT+8")
    @TableField("Start")
    private Date Start;

    @JsonFormat(pattern = "YYYY-MM-dd",timezone = "GMT+8")
    @TableField("End")
    private Date End;

    @TableField("Status")
    private String Status;

    private String isInvoice;

    @TableField(exist = false)
    private Payitems payitems;

}
